﻿using NewsSystem.Models;
using System;

namespace NewsSystem.Contracts
{
    public interface INewsUnitOfWork
    {
        IRepository<Article> Article { get; }

        IUserRepository User { get; }

        IRepository<Comment> Comment { get; }

        IRepository<Vote> Vote { get; }

        IRepository<Image> Image { get; }

        void Commit();
    }
}
